#ifndef FEATS_H
#define FEATS_H




#include "dtwenty_global.h"

#include <collection.h>
#include <item.h>

#include <QMetaType>


typedef Item Feat;


class DTWENTYSHARED_EXPORT Feats : public Collection
{
    Q_OBJECT

public:

    enum Field
    {
        Field_FIRST = 0,

        Field_NAME = Field_FIRST,
        Field_DESC,

        Field_LAST = Field_DESC
    };


    Q_INVOKABLE Feats(QObject *parent = 0) :
        Collection(QT_TR_NOOP("Feats"), parent)
    {
    }

    Feats(const Feats& other) :
        Collection(other)
    {
    }

    Q_INVOKABLE virtual void onInitialize()
    {
        setField(Field_NAME, QT_TR_NOOP("Name"));
        setField(Field_DESC, QT_TR_NOOP("Description"));
    }


};

Q_DECLARE_METATYPE(Feats*)



#endif // FEATS_H
